using System.ComponentModel.DataAnnotations;

namespace Yuekao.Domain.Entitys
{
    /// <summary>
    /// 医生排班表
    /// </summary>
    public class Scheduling
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int SchedulId { get; set; }
        //接诊时间=开始时间-结束时间
        /// <summary>
        /// 排班时间
        /// </summary>
        public DateTime SchedulingTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime JieshuTime { get; set; }
        /// <summary>
        /// 门诊
        /// </summary>
        public string? OutpatientClinic { get; set; }

        /// <summary>
        /// 在线接诊
        /// </summary>
        public string? SeeingPatients { get; set; }
        /// <summary>
        /// 接诊状态
        /// </summary>
        public int PatientStatus {  get; set; }
        /// <summary>
        /// 接诊人数
        /// </summary>
        public string PatientNumber { get; set; } = string.Empty;
        /// <summary>
        /// 医生管理id
        /// </summary>
        public int DoctorId { get; set; }
    }
} 